/**
 * Mock response data for Polymarket Trending Feed
 * Contains trending events and markets data for E2E testing
 * Based on real Polymarket API structure from gamma-api.polymarket.com
 */

export const POLYMARKET_TRENDING_FEED = {
  data: [
    {
      id: '23246',
      ticker: 'new-york-city-mayoral-election',
      slug: 'new-york-city-mayoral-election',
      title: 'New York City Mayoral Election',
      description:
        'The 2025 New York City mayoral election will be held on November 4, 2025.\n\nThis market will resolve according to the candidate wins the election.\n\nThe primary resolution source for this market will be a consensus of credible reporting, however if there is any ambiguity in the results this market will resolve according to official information from New York City.',
      resolutionSource: '',
      startDate: '2025-04-22T16:14:22.792059Z',
      creationDate: '2025-04-22T16:14:22.792054Z',
      endDate: '2025-11-04T12:00:00Z',
      image:
        'https://polymarket-upload.s3.us-east-2.amazonaws.com/new-york-city-mayoral-election-al8KR4km2AQB.png',
      icon: 'https://polymarket-upload.s3.us-east-2.amazonaws.com/new-york-city-mayoral-election-al8KR4km2AQB.png',
      active: true,
      closed: false,
      archived: false,
      new: false,
      featured: true,
      restricted: true,
      liquidity: 11655130.75805,
      volume: 251930491.300494,
      openInterest: 0,
      sortBy: 'price',
      createdAt: '2025-04-22T15:32:25.553591Z',
      updatedAt: '2025-10-21T21:18:20.938249Z',
      competitive: 0.8491398955855127,
      volume24hr: 38755055.49108999,
      volume1wk: 85918777.21263005,
      volume1mo: 171154043.4345605,
      volume1yr: 251429779.4490712,
      enableOrderBook: true,
      liquidityClob: 11655130.75805,
      negRisk: true,
      negRiskMarketID:
        '0x289dc66d9938b32cb340a630d13de0a91e3e04e0dc62a219a26a16e6f9cc2600',
      commentCount: 1960,
      markets: [
        {
          id: '538928',
          question: 'Will Eric Adams win the 2025 NYC mayoral election?',
          conditionId:
            '0x846ce700a217ec7b75b8d078450f7e88eb5f44c76c12ae448ca10039ef4412b9',
          slug: 'will-eric-adams-win-the-2025-nyc-mayoral-election',
          resolutionSource: '',
          endDate: '2025-11-04T12:00:00Z',
          liquidity: '1176163.64538',
          startDate: '2025-04-22T16:08:39.801Z',
          image:
            'https://polymarket-upload.s3.us-east-2.amazonaws.com/will-eric-adams-win-the-2025-nyc-mayoral-election-bm9xzDHUeJq0.jpg',
          icon: 'https://polymarket-upload.s3.us-east-2.amazonaws.com/will-eric-adams-win-the-2025-nyc-mayoral-election-bm9xzDHUeJq0.jpg',
          description:
            'The 2025 New York City mayoral election will be held on November 4, 2025, to elect the mayor of New York City.',
          outcomes: '["Yes", "No"]',
          outcomePrices: '["0.0025", "0.9975"]',
          volume: '17271633.264622',
          active: true,
          closed: false,
          marketMakerAddress: '',
          createdAt: '2025-04-22T15:32:26.102547Z',
          updatedAt: '2025-10-21T21:16:43.116236Z',
          new: false,
          featured: false,
          submitted_by: '0x91430CaD2d3975766499717fA0D66A78D814E5c5',
          archived: false,
          resolvedBy: '0x2F5e3684cb1F318ec51b00Edba38d79Ac2c0aA9d',
          restricted: true,
          groupItemTitle: 'Eric Adams',
          groupItemThreshold: '0',
          questionID:
            '0x289dc66d9938b32cb340a630d13de0a91e3e04e0dc62a219a26a16e6f9cc2600',
          enableOrderBook: true,
          orderPriceMinTickSize: 0.001,
          orderMinSize: 5,
          volumeNum: 17271633.264622,
          liquidityNum: 1176163.64538,
          endDateIso: '2025-11-04',
          startDateIso: '2025-04-22',
          hasReviewedDates: true,
          volume24hr: 776249.2449879998,
          volume1wk: 3611124.1771060107,
          volume1mo: 8774910.225729013,
          volume1yr: 17234755.651122037,
          clobTokenIds:
            '["12541509255877010177934715422358422748052378132651567836811989084820478865881", "557149893577824223387740663828120572195409127574902734254512226734855221907"]',
          umaBond: '500',
          umaReward: '5',
          volume24hrClob: 776249.2449879998,
          volume1wkClob: 3611124.1771060107,
          volume1moClob: 8774910.225729013,
          volume1yrClob: 17234755.651122037,
          volumeClob: 17271633.264622,
          liquidityClob: 1176163.64538,
          customLiveness: 0,
          acceptingOrders: true,
          negRisk: true,
          negRiskMarketID:
            '0x289dc66d9938b32cb340a630d13de0a91e3e04e0dc62a219a26a16e6f9cc2600',
          negRiskRequestID:
            '0x42542030c4b5210c2725e5cc758045040bd570347070a0a020a017f8c5918a54',
          ready: false,
          funded: false,
          acceptingOrdersTimestamp: '2025-04-22T16:07:29Z',
          cyom: false,
          competitive: 0.8015991903848178,
          pagerDutyNotificationEnabled: false,
          approved: true,
          rewardsMinSize: 200,
          rewardsMaxSpread: 3.5,
          spread: 0.001,
          oneWeekPriceChange: -0.002,
          oneMonthPriceChange: -0.0065,
          lastTradePrice: 0.002,
          bestBid: 0.002,
          bestAsk: 0.003,
          automaticallyActive: true,
          clearBookOnStart: true,
          seriesColor: '#fdc500',
          showGmpSeries: false,
          showGmpOutcome: false,
          manualActivation: false,
          negRiskOther: false,
          umaResolutionStatuses: '[]',
          pendingDeployment: false,
          deploying: false,
          rfqEnabled: false,
          holdingRewardsEnabled: false,
          feesEnabled: false,
        },
      ],
      tags: [
        {
          id: '851',
          label: 'nyc',
          slug: 'nyc',
          publishedAt: '2024-01-10 21:54:44.093+00',
          createdAt: '2024-01-10T21:54:44.108Z',
          updatedAt: '2024-01-10T21:54:44.108Z',
        },
        {
          id: '102148',
          label: 'NYC Mayor',
          slug: 'nyc-mayor',
          createdAt: '2025-05-20T19:13:38.789883Z',
        },
        {
          id: '2',
          label: 'Politics',
          slug: 'politics',
          forceShow: false,
          publishedAt: '2023-10-25 18:55:50.674+00',
          updatedBy: 13,
          createdAt: '2023-10-25T18:55:50.681Z',
          updatedAt: '2024-07-05T21:07:05.081707Z',
          forceHide: true,
        },
      ],
      cyom: false,
      showAllOutcomes: true,
      showMarketImages: true,
      enableNegRisk: true,
      automaticallyActive: true,
      startTime: '2025-11-04T12:00:00Z',
      gmpChartMode: 'default',
      negRiskAugmented: true,
      countryName: 'New York City',
      electionType: 'Mayoral',
      featuredOrder: 2,
      pendingDeployment: false,
      deploying: false,
    },
    {
      id: '23247',
      ticker: 'bitcoin-price-2025',
      slug: 'bitcoin-price-2025',
      title: 'Bitcoin Price Prediction 2025',
      description: 'Will Bitcoin reach $100,000 by the end of 2025?',
      resolutionSource: '',
      startDate: '2025-01-01T00:00:00Z',
      creationDate: '2025-01-01T00:00:00Z',
      endDate: '2025-12-31T23:59:59Z',
      image:
        'https://polymarket-upload.s3.us-east-2.amazonaws.com/bitcoin-price-2025-example.png',
      icon: 'https://polymarket-upload.s3.us-east-2.amazonaws.com/bitcoin-price-2025-example.png',
      active: true,
      closed: false,
      archived: false,
      new: false,
      featured: true,
      restricted: false,
      liquidity: 5000000.0,
      volume: 15000000.0,
      openInterest: 0,
      sortBy: 'price',
      createdAt: '2025-01-01T00:00:00Z',
      updatedAt: '2025-01-15T12:00:00Z',
      competitive: 0.75,
      volume24hr: 2500000.0,
      volume1wk: 8000000.0,
      volume1mo: 12000000.0,
      volume1yr: 15000000.0,
      enableOrderBook: true,
      liquidityClob: 5000000.0,
      negRisk: false,
      negRiskMarketID: null,
      commentCount: 450,
      markets: [
        {
          id: '538950',
          question: 'Will Bitcoin reach $100,000 by end of 2025?',
          conditionId:
            '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef',
          slug: 'bitcoin-100k-2025',
          resolutionSource: '',
          endDate: '2025-12-31T23:59:59Z',
          liquidity: '5000000.0',
          startDate: '2025-01-01T00:00:00Z',
          image:
            'https://polymarket-upload.s3.us-east-2.amazonaws.com/bitcoin-100k-2025.jpg',
          icon: 'https://polymarket-upload.s3.us-east-2.amazonaws.com/bitcoin-100k-2025.jpg',
          description:
            'This market will resolve to "Yes" if Bitcoin reaches $100,000 or higher by December 31, 2025.',
          outcomes: '["Yes", "No"]',
          outcomePrices: '["0.35", "0.65"]',
          volume: '15000000.0',
          active: true,
          closed: false,
          marketMakerAddress: '',
          createdAt: '2025-01-01T00:00:00Z',
          updatedAt: '2025-01-15T12:00:00Z',
          new: false,
          featured: false,
          submitted_by: '0x1234567890abcdef1234567890abcdef12345678',
          archived: false,
          resolvedBy: null,
          restricted: false,
          groupItemTitle: 'Bitcoin $100K',
          groupItemThreshold: '0',
          questionID:
            '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef',
          enableOrderBook: true,
          orderPriceMinTickSize: 0.01,
          orderMinSize: 5,
          volumeNum: 15000000.0,
          liquidityNum: 5000000.0,
          endDateIso: '2025-12-31',
          startDateIso: '2025-01-01',
          hasReviewedDates: true,
          volume24hr: 2500000.0,
          volume1wk: 8000000.0,
          volume1mo: 12000000.0,
          volume1yr: 15000000.0,
          clobTokenIds: '["token123", "token456"]',
          umaBond: '500',
          umaReward: '5',
          volume24hrClob: 2500000.0,
          volume1wkClob: 8000000.0,
          volume1moClob: 12000000.0,
          volume1yrClob: 15000000.0,
          volumeClob: 15000000.0,
          liquidityClob: 5000000.0,
          customLiveness: 0,
          acceptingOrders: true,
          negRisk: false,
          negRiskMarketID: null,
          negRiskRequestID: null,
          ready: true,
          funded: true,
          acceptingOrdersTimestamp: '2025-01-01T00:00:00Z',
          cyom: false,
          competitive: 0.75,
          pagerDutyNotificationEnabled: false,
          approved: true,
          rewardsMinSize: 100,
          rewardsMaxSpread: 2.0,
          spread: 0.01,
          oneWeekPriceChange: 0.05,
          oneMonthPriceChange: 0.1,
          lastTradePrice: 0.35,
          bestBid: 0.34,
          bestAsk: 0.36,
          automaticallyActive: true,
          clearBookOnStart: true,
          seriesColor: '#f7931a',
          showGmpSeries: false,
          showGmpOutcome: false,
          manualActivation: false,
          negRiskOther: false,
          umaResolutionStatuses: '[]',
          pendingDeployment: false,
          deploying: false,
          rfqEnabled: false,
          holdingRewardsEnabled: false,
          feesEnabled: false,
        },
      ],
      tags: [
        {
          id: 'crypto',
          label: 'Cryptocurrency',
          slug: 'cryptocurrency',
          publishedAt: '2024-01-01 00:00:00Z',
          createdAt: '2024-01-01T00:00:00Z',
          updatedAt: '2024-01-01T00:00:00Z',
        },
        {
          id: 'bitcoin',
          label: 'Bitcoin',
          slug: 'bitcoin',
          createdAt: '2024-01-01T00:00:00Z',
        },
      ],
      cyom: false,
      showAllOutcomes: true,
      showMarketImages: true,
      enableNegRisk: false,
      automaticallyActive: true,
      startTime: '2025-12-31T23:59:59Z',
      gmpChartMode: 'default',
      negRiskAugmented: false,
      countryName: 'Global',
      electionType: null,
      featuredOrder: 1,
      pendingDeployment: false,
      deploying: false,
    },
  ],
  pagination: {
    hasMore: true,
    totalResults: 150,
  },
};
